Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement time_none #1347

Merged
merged 35 commits into from
Aug 24, 2023
Merged

Conversation

uramirez8707
Copy link
Contributor

@uramirez8707 uramirez8707 commented Aug 21, 2023

Description

  1. Implements the "time_none" reduction method
  2. Update the test_time_none.sh to test with the new diag manager
  3. Fixes a bug related to the subaxis
  4. Added the compute indices for the subaxis (this is needed when doing the math)
  5. Replace the pointer remapping with a regular copy because we can't guarantee that the data send in is contiguous and that will cause undefined behavior

There seems to be an issue with the checks in CI. I have not been able to reproduce the error outside of the CI. The checks are currently commented out.

Fixes # (issue)

How Has This Been Tested?
CI, including new tests!

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • Any dependent changes have been merged and published in downstream modules
  • New check tests, if applicable, are included
  • make distcheck passes

@thomas-robinson
Copy link
Member

  1. What is the issue with the CI?
  2. Why can't we guarantee that the incoming data is contiguous? I'd really like to avoid using copies as much as possible.

diag_manager/fms_diag_bbox.F90 Outdated Show resolved Hide resolved
diag_manager/fms_diag_bbox.F90 Outdated Show resolved Hide resolved
diag_manager/fms_diag_bbox.F90 Outdated Show resolved Hide resolved
diag_manager/fms_diag_bbox.F90 Outdated Show resolved Hide resolved
diag_manager/fms_diag_object.F90 Show resolved Hide resolved
diag_manager/fms_diag_object.F90 Show resolved Hide resolved
@uramirez8707
Copy link
Contributor Author

The "CI issue" is fixed in e0cc678. The CI was failing with --enable-mixed-mode, it was not getting the subregion indices correctly. I turned the checks back on.

@thomas-robinson thomas-robinson merged commit 07ff067 into NOAA-GFDL:dmUpdate Aug 24, 2023
18 checks passed
@uramirez8707 uramirez8707 deleted the time_none_4_real branch August 24, 2023 18:37
@uramirez8707 uramirez8707 restored the time_none_4_real branch August 24, 2023 18:39
@uramirez8707 uramirez8707 deleted the time_none_4_real branch August 24, 2023 18:43
rem1776 pushed a commit to rem1776/FMS that referenced this pull request May 1, 2024
rem1776 pushed a commit to rem1776/FMS that referenced this pull request May 1, 2024
rem1776 pushed a commit to rem1776/FMS that referenced this pull request May 1, 2024
rem1776 pushed a commit to rem1776/FMS that referenced this pull request May 1, 2024
rem1776 pushed a commit to rem1776/FMS that referenced this pull request May 1, 2024
rem1776 pushed a commit to rem1776/FMS that referenced this pull request May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants